home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 4,401 to 4,500 / aol-file-protocol-4400-4401-to-4500.zip / AOLDLs / PDA-Newton Development / ND Date & Time Editors / date.sit / README.dateEditors < prev    next >
Text File  |  1994-09-27  |  3KB  |  101 lines

  1.                     Date & Time Editors
  2.                     -------------------
  3.  
  4. Description:
  5. -----------
  6. These protos are for use with date and time data entry. There are two
  7. floating view protos. One is for date only entry and the other is for
  8. date and time entry. Both of these protos are based on a third proto
  9. which is used to control the calendar.
  10.  
  11. The other protos included I pulled from on of my programs so that you 
  12. can see how to interface with the date/time picker proto. Actually,
  13. I changed the date and time protos to use my protos so that I could
  14. have floating date editors and the buttons are sized correctly.
  15.  
  16.  
  17. Date Editor protos
  18. ------------------
  19.  
  20.     protoDateEditorInputLine - popups open the date editor when the label is
  21. tapped. Does most everything for you. You will need to set "Date" in the
  22. viewSetupFormScript to the intenal date to show. Assumes that you have the
  23. protoDatePickerPicker or the protoDateTimePicker named "dateTimePicker". 
  24.  
  25.  
  26.     protoDatePicker - (internally used for next 2 protos) 
  27.  
  28.     protoDatePickerPicker - displays the calendar with the a "Set" and
  29. "Today" button.
  30.         Messages that you send to view:
  31.             :OpenMe() message to open floater.
  32.                     // params are:
  33.                     //        the view that gets the PickedDate message, 
  34.                     //        the default date to show, and 
  35.                     //        the title for the date picker view
  36.             :Update() message to update floater 
  37.                     // params are:
  38.                     //        the new view that gets the PickedDate message, 
  39.                     //        the new date to show, and 
  40.                     //        the new title for the date picker view
  41.         Messages sent from view:
  42.             :PickedDate() - send you what date the user had selected when
  43. "Set" was tapped.
  44.                     // params are:
  45.                     //        the date in Newton internal format 
  46.  
  47.     protoDateTimePicker - displays the calendar and a clock with the a "Set"
  48. and "Today/Now" button.
  49.         Messages that you send to view:
  50.             SAME AS FOR protoDatePickerPicker
  51.         Messages that you receive from view:
  52.             SAME AS FOR protoDatePickerPicker
  53.  
  54.  
  55.     protoAdjustoButton - from the proto section of the PIE samples. Makes
  56. your buttons comply with the user interface guidelines for size and spacing.
  57.  
  58.     protoFloatDragNGo - a protoFloatNGo with the ability to be dragged if
  59. the tap is within 10 pixels of the edge. It sets a bunch of things. It is
  60. a center horizontal/vertical justified floater with a matte boarder that
  61. is clickable.
  62.  
  63. Info:
  64. ----
  65. ⌐ 1994 Atomic Software.  All rights reserved.
  66.  
  67. Free to distribute and use in your apps!  Just let me know you are using
  68. it and if you enhance it.
  69.  
  70. Thanks
  71.    
  72. Allan Marcus
  73.  
  74. CIS: 76666,2113
  75. AppleLink: allan.marcus
  76. eWorld/NewtonMail: allan.m
  77. InterNet: allan@apple.com
  78.  
  79. More Info:
  80. ----------
  81. I uploaded the protoDateTimePicker, protoDatePicker, and
  82. protoDatePickerPicker with some modifications that I have made to them, but
  83. Allan deserves all the credit for creating them and making them available for
  84. me to make available for you.
  85.  
  86. I'm uploading the protoAdjustoButton so that you don't need to go looking
  87. thru the samples to find it.
  88.  
  89. I'm uploading 2 of my own protos protoLabelDateEditorInputLine and 
  90. protoFloatDragNGo. These are ⌐ 1994 Hardy Macia. All rights reserved.
  91.  
  92.  
  93. I am:
  94.     Hardy Macia
  95.     P.O.Box 8276
  96.     Essex VT 05451
  97.  
  98.     HardyMacia@eWorld.com
  99.  
  100. If you have questions about something you can email me (Hardy).
  101.